package com.rd.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rd.mapper.PhzhiMapper;
import com.rd.pojo.Phzhi;
import com.rd.service.IPhzhiService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 27949
 * @version 1.0
 * @date 2023/11/5 16:18
 */
@Slf4j
@Service
public class PhzhiServiceImpl extends ServiceImpl<PhzhiMapper, Phzhi> implements IPhzhiService {

    @Resource
    private PhzhiMapper phzhiMapper;

    @Override
    public Phzhi getPhzhi(Integer month) {
        return phzhiMapper.selectById(month);
    }
}
